import type { BasicRecord } from "../../model/baseModel";


export type CollectionsRecord  =  BasicRecord &{
  id: number;
  name: string;
  desc: string;
  state:number;
  createTime: string;
}

export type CollectionsParams = {
  name?: string;
  desc?: string;
  state?: number;
};

export type AddCollectionsParams = Pick<CollectionsRecord, 'name' | 'desc' | 'state' >;
export type CollectionsResultModel = CollectionsRecord;
